SQL Serverのトランザクション分離レベルを変更する
code:sql
SET TRANSACTION ISOLATION LEVEL <isolation level>;
上記クエリの<isolation level>に以下のレベルが入る
code:sql
DBCC USEROPTIONS;
table:result
Set Option Value
isolation level read committed
code:sql
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
DBCC USEROPTIONS;
table:result
Set Option Value
isolation level read uncommitted
参考